package com.animatron.sample.client.tree.json;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

public class JsonNodeData extends JavaScriptObject
{
	protected JsonNodeData()
	{
	}

	public final native String getName() /*-{
		return this.name;
	}-*/;

	public final native JsArray<JsonNodeData> getChildren() /*-{
		if (this.children == null)
			return [];
		return this.children;
	}-*/;
}
